// 用户接口
import { getRequest1, postRequest1 } from "@/utils/request1";

// 用户资产
export const getUserOverviewApi = (param) => {
  return getRequest1("/api/mer/user/overview", param);
};

// 用户列表
export const getUserListApi = (param) => {
  return getRequest1("/api/mer/user/list", param);
};

// 交易订单
export const getUserBillsApi = (param) => {
  return getRequest1("/api/mer/user/bills", param);
};

// 交易订单详情
export const getUserBillsDetailApi = (param) => {
  return getRequest1("/api/mer/user/bills/detail", param);
};

// 商户审核
export const UserBillsReviewApi = (param) => {
  return postRequest1("/api/mer/user/bills/review", param);
};

// 用户账户流水
export const getUserRecordsApi = (param) => {
  return getRequest1("/api/mer/user/asset/records", param);
};

// 用户转入
export const UserTransferApi = (param) => {
  return postRequest1("/api/mer/user/transfer", param);
};

// 用户游戏记录
export const getUserGameListApi = (param) => {
  return getRequest1("/api/mer/user/gamerecords", param);
};
